<div class="page-header no-breadcrumb font-header">栏目列表</div>
<div class="content-wrap">
    <div class="panel panel-default">

        <!--panel-body-->
        <div class="panel-body">
            <div class="row common-padding">
                <ul class="nav nav-tabs font-12">
                    <li role="presentation" class="active common-mleft">
                        <a aria-expanded="true" href="#category1" data-toggle="tab">政务公开</a>
                    </li>
                    <li class="" role="presentation">
                        <a aria-expanded="false" href="#category2" data-toggle="tab">科技培训</a>
                    </li>
                    <li class="" role="presentation">
                        <a aria-expanded="false" href="#category3" data-toggle="tab">电子商务</a>
                    </li>
                    <li class="" role="presentation">
                        <a aria-expanded="false" href="#category4" data-toggle="tab">农业金融</a>
                    </li>
                    <li class="" role="presentation">
                        <a aria-expanded="false" href="#category5" data-toggle="tab">便民服务</a>
                    </li>
                </ul>
            </div>
        </div>
        <!--panel-body-->


        <div class="tab-content b-all no-b-t">

            <!--category1-->
            <div class="tab-pane fade active in" id="category1">
                <!--table-responsive-->
                <div class="table-responsive overflow-x">
                    <div class="dataTables_wrapper dt-bootstrap no-footer">
                        <!--row-->

                        <div class="row common-body common-ptop">
                            <div class="col-sm-4">
                                <div class="input-group pull-left">
                                    <input type="text" placeholder="输入栏目名" class="form-control">
                            <span class="input-group-btn font-12">
                            <button type="button" class="btn btn-flat btn-danger">搜索</button>
                          </span>
                                </div>
                            </div>
                            <div class="col-sm-8">
                                <div class="form-group">
                                    <div class="btn-padding inblock pull-right">
                                        <a href="/cate/create" class="btn btn-info btn-flat">添加栏目</a>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <!--row-->

                        <div class="row">
                            <div class="col-sm-12 table-items showCateTop">
                                <table aria-describedby="datatable_info"
                                       class="table table-striped font-12 dataTable no-footer">
                                    <thead>
                                    <tr>
                                        <th>
                                            <div class="showCateWidth">
                                                栏目名称
                                            </div>
                                        </th>
                                        <th class="text-center">栏目链接</th>
                                        <th class="text-center">栏目分级</th>
                                        <th class="text-center">操作</th>
                                    </tr>
                                    </thead>
                                </table>
                                <div class="relative showCate">
                                    <table class="table table-striped font-12 ">
                                        <tr>
                                            <td>
                                                <div class="showCateWidth showCa">
                                                    <a class="" role="button" data-toggle="collapse" data-parent="#accordion"
                                                       href="#collapseOne" aria-expanded="true"
                                                       aria-controls="collapseOne">
                                                        栏目名称#1
                                                    </a>
                                                    <i class="fa fa-angle-double-right"></i>
                                                </div>
                                            </td>
                                            <td class="text-center">栏目链接</td>
                                            <td class="text-center">栏目分级</td>
                                            <td class="text-center">操作</td>
                                        </tr>
                                    </table>
                                </div>
                                <div id="collapseOne" class="panel-collapse collapse relative showCate" role="tabpanel"
                                     aria-labelledby="headingOne">
                                    <table class="table table-striped font-12 ">
                                        <tr>
                                            <td>
                                                <div class="showCateWidth">
                                                    栏目名称
                                                </div>
                                            </td>
                                            <td class="text-center">栏目链接</td>
                                            <td class="text-center">栏目分级</td>
                                            <td class="text-center">操作</td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <div class="showCateWidth">
                                                    栏目名称
                                                </div>
                                            </td>
                                            <td class="text-center">栏目链接</td>
                                            <td class="text-center">栏目分级</td>
                                            <td class="text-center">操作</td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <div class="showCateWidth">
                                                    栏目名称
                                                </div>
                                            </td>
                                            <td class="text-center">栏目链接</td>
                                            <td class="text-center">栏目分级</td>
                                            <td class="text-center">操作</td>
                                        </tr>

                                    </table>
                                </div>
                            </div>
                        </div>
                        <!--row-->

                        <!--row-->
                        <div class="row">
                            <div class="col-sm-7">
                                <div class="dataTables_paginate paging_simple_numbers" id="datatable_paginate">
                                    翻页
                                </div>
                            </div>
                        </div>
                        <!--row-->
                    </div>
                </div>
                <!--table-responsive-->
            </div>
            <!--category1-->


            <!--category2-->
            <div class="tab-pane fade" id="category2">
                <!--table-responsive-->
                <div class="table-responsive overflow-x">
                    <div class="dataTables_wrapper dt-bootstrap no-footer">
                        <!--row-->

                        <div class="row common-body common-ptop">
                            <div class="col-sm-4">
                                <div class="input-group pull-left">
                                    <input type="text" placeholder="输入栏目名" class="form-control">
                            <span class="input-group-btn font-12">
                            <button type="button" class="btn btn-flat btn-danger">搜索</button>
                          </span>
                                </div>
                            </div>
                            <div class="col-sm-8">
                                <div class="form-group">
                                    <div class="btn-padding inblock pull-right">
                                        <a href="/cate/create" class="btn btn-info btn-flat">添加栏目</a>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <!--row-->
                        <div class="row common-body common-ptop">
                            <div class="col-sm-12 table-items">
                                <table aria-describedby="datatable_info"
                                       class="table table-striped font-12 dataTable no-footer">
                                    <thead>
                                    <tr>
                                        <th>
                                            栏目名称
                                        </th>
                                        <th class="text-center">栏目链接</th>
                                        <th class="text-center">栏目分级</th>
                                        <th class="text-center">操作</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    <tr>
                                        <td>
                                            政策法规
                                        </td>
                                        <td class="text-center">待机视频</td>
                                        <td class="text-center">待机视频</td>
                                        <td class="text-center">
                                            <a href="#" class="text-btn text-info">编辑</a>
                                            <a href="#" class="text-btn text-danger">删除</a>
                                        </td>
                                    </tr>

                                    </tbody>
                                </table>
                            </div>
                        </div>
                        <!--row-->

                        <!--row-->
                        <div class="row">
                            <div class="col-sm-7">
                                <div class="dataTables_paginate paging_simple_numbers" id="datatable_paginate">
                                    翻页
                                </div>
                            </div>
                        </div>
                        <!--row-->
                    </div>
                </div>
                <!--table-responsive-->
            </div>
            <!--category2-->

            <!--category3-->
            <div class="tab-pane fade" id="category3">
                <!--table-responsive-->
                <div class="table-responsive overflow-x">
                    <div class="dataTables_wrapper dt-bootstrap no-footer">
                        <!--row-->

                        <div class="row common-body common-ptop">
                            <div class="col-sm-4">
                                <div class="input-group pull-left">
                                    <input type="text" placeholder="输入栏目名" class="form-control">
                            <span class="input-group-btn font-12">
                            <button type="button" class="btn btn-flat btn-danger">搜索</button>
                          </span>
                                </div>
                            </div>
                            <div class="col-sm-8">
                                <div class="form-group">
                                    <div class="btn-padding inblock pull-right">
                                        <a href="/cate/create" class="btn btn-info btn-flat">添加栏目</a>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <!--row-->
                        <div class="row common-body common-ptop">
                            <div class="col-sm-12 table-items">
                                <table aria-describedby="datatable_info"
                                       class="table table-striped font-12 dataTable no-footer">
                                    <thead>
                                    <tr>
                                        <th>
                                            栏目名称
                                        </th>
                                        <th class="text-center">栏目链接</th>
                                        <th class="text-center">栏目分级</th>
                                        <th class="text-center">操作</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    <tr>
                                        <td>
                                            政策法规
                                        </td>
                                        <td class="text-center">待机视频</td>
                                        <td class="text-center">待机视频</td>
                                        <td class="text-center">
                                            <a href="#" class="text-btn text-info">编辑</a>
                                            <a href="#" class="text-btn text-danger">删除</a>
                                        </td>
                                    </tr>

                                    </tbody>
                                </table>
                            </div>
                        </div>
                        <!--row-->

                        <!--row-->
                        <div class="row">
                            <div class="col-sm-7">
                                <div class="dataTables_paginate paging_simple_numbers" id="datatable_paginate">
                                    翻页
                                </div>
                            </div>
                        </div>
                        <!--row-->
                    </div>
                </div>
                <!--table-responsive-->
            </div>
            <!--category3-->


            <!--category4-->
            <div class="tab-pane fade" id="category4">
                <!--table-responsive-->
                <div class="table-responsive overflow-x">
                    <div class="dataTables_wrapper dt-bootstrap no-footer">
                        <!--row-->

                        <div class="row common-body common-ptop">
                            <div class="col-sm-4">
                                <div class="input-group pull-left">
                                    <input type="text" placeholder="输入栏目名" class="form-control">
                            <span class="input-group-btn font-12">
                            <button type="button" class="btn btn-flat btn-danger">搜索</button>
                          </span>
                                </div>
                            </div>
                            <div class="col-sm-8">
                                <div class="form-group">
                                    <div class="btn-padding inblock pull-right">
                                        <a href="/cate/create" class="btn btn-info btn-flat">添加栏目</a>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <!--row-->
                        <div class="row common-body common-ptop">
                            <div class="col-sm-12 table-items">
                                <table aria-describedby="datatable_info"
                                       class="table table-striped font-12 dataTable no-footer">
                                    <thead>
                                    <tr>
                                        <th>
                                            栏目名称
                                        </th>
                                        <th class="text-center">栏目链接</th>
                                        <th class="text-center">栏目分级</th>
                                        <th class="text-center">操作</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    <tr>
                                        <td>
                                            政策法规
                                        </td>
                                        <td class="text-center">待机视频</td>
                                        <td class="text-center">待机视频</td>
                                        <td class="text-center">
                                            <a href="#" class="text-btn text-info">编辑</a>
                                            <a href="#" class="text-btn text-danger">删除</a>
                                        </td>
                                    </tr>

                                    </tbody>
                                </table>
                            </div>
                        </div>
                        <!--row-->

                        <!--row-->
                        <div class="row">
                            <div class="col-sm-7">
                                <div class="dataTables_paginate paging_simple_numbers" id="datatable_paginate">
                                    翻页
                                </div>
                            </div>
                        </div>
                        <!--row-->
                    </div>
                </div>
                <!--table-responsive-->
            </div>
            <!--category4-->


            <!--category5-->
            <div class="tab-pane fade" id="category5">
                <!--table-responsive-->
                <div class="table-responsive overflow-x">
                    <div class="dataTables_wrapper dt-bootstrap no-footer">
                        <!--row-->

                        <div class="row common-body common-ptop">
                            <div class="col-sm-4">
                                <div class="input-group pull-left">
                                    <input type="text" placeholder="输入栏目名" class="form-control">
                            <span class="input-group-btn font-12">
                            <button type="button" class="btn btn-flat btn-danger">搜索</button>
                          </span>
                                </div>
                            </div>
                            <div class="col-sm-8">
                                <div class="form-group">
                                    <div class="btn-padding inblock pull-right">
                                        <a href="/cate/create" class="btn btn-info btn-flat">添加栏目</a>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <!--row-->
                        <div class="row common-body common-ptop">
                            <div class="col-sm-12 table-items">
                                <table aria-describedby="datatable_info"
                                       class="table table-striped font-12 dataTable no-footer">
                                    <thead>
                                    <tr>
                                        <th>
                                            栏目名称
                                        </th>
                                        <th class="text-center">栏目链接</th>
                                        <th class="text-center">栏目分级</th>
                                        <th class="text-center">操作</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    <tr>
                                        <td>
                                            政策法规
                                        </td>
                                        <td class="text-center">待机视频</td>
                                        <td class="text-center">待机视频</td>
                                        <td class="text-center">
                                            <a href="#" class="text-btn text-info">编辑</a>
                                            <a href="#" class="text-btn text-danger">删除</a>
                                        </td>
                                    </tr>

                                    </tbody>
                                </table>
                            </div>
                        </div>
                        <!--row-->

                        <!--row-->
                        <div class="row">
                            <div class="col-sm-7">
                                <div class="dataTables_paginate paging_simple_numbers" id="datatable_paginate">
                                    翻页
                                </div>
                            </div>
                        </div>
                        <!--row-->
                    </div>
                </div>
                <!--table-responsive-->
            </div>
            <!--category5-->


        </div>
    </div>

</div>




<script>
    $(function(){
        var i = $(".showCa i");
        var cname = 'fa fa-angle-double-right';
        $('.collapse').on('hidden.bs.collapse', function () {
            cname = 'fa fa-angle-double-right';
            i.attr({class:cname});
            console.log("==>hidden");
            // do something…
        })
        $('.collapse').on('show.bs.collapse', function () {
            cname = 'fa fa-angle-double-down';
            i.attr({class:cname});

            console.log("==>show");
            // do something…
        })
    })

</script>



